package com.cskaoyan.mapper;

import com.cskaoyan.bean.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentMapper {
    int insertStudent(@Param("student") List<Student> student);
   // int deleteStudentById(@Param("id") int id);

    int updateSelectiveStudent(@Param("student") Student student);

    List<Student> selectStudentListByIds(List<Integer> ids);

    Student selectStudentById(Integer id);


    int deleteStudentById(Integer id);

    List<Student> selectStudentListByStudent_XiXiHaHa(@Param("student")Student student);

    List<Student> selectStudentListSomeSome(); // 多行多列

    List<Student> selectStudentListByAges(@Param("ages") int[] ages);

    List<Student> selectStudentListByStudent(@Param("student")Student student);


}


